<template>
  <div class="w-full h-full bg-zinc-200 dark:bg-zinc-800">
    <pins-vue :id="$route.params.id" :rowData="rowData" />
  </div>
</template>

<script setup>
import { ref, onMounted } from 'vue'
import pinsVue from './components/pins.vue'

const rowData = ref({})
onMounted(() => {
  rowData.value = JSON.parse(localStorage.getItem('currentPins')) || {}
})
</script>

<style lang="scss" scoped></style>
